package io.renren.modules.student.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author zlb
 * @email 316682546@qq.com
 * @date 2018-08-14 13:53:54
 */
@TableName("student")
public class StudentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 用户Id
	 */
	private Integer userId;
	/**
	 * 学生姓名
	 */
	private String name;
	/**
	 * 身份证
	 */
	private String idCord;
	/**
	 * 学号-学校的
	 */
	private String schoolCard;
	/**
	 * 学校的ID
	 */
	private Integer schoolId;

	/**
	 * 学校名称
	 */
	@TableField(exist = false)
	private String schoolName;

	/**
	 * 班级名称
	 */
	@TableField(exist = false)
	private String schoolClassName;


	/**
	 * 
	 */
	private Integer schoolClassId;
	/**
	 * 高考分数
	 */
	private Integer collegeExamScore;
	/**
	 * 
	 */
	private Date createTime;
	/**
	 * 
	 */
	private String phone;
	/**
	 * 紧急联系人
	 */
	private String emergencyContact;
	/**
	 * 紧急联系电话
	 */
	private String emergencyPhone;
	/**
	 *学生类型
	 */
	private Integer learnType;

	/**
	 *专业名称
	 */
	@TableField(exist = false)
	private String professionName;
	/**
	 *专业id
	 */
	private Integer professionId;

	public String getProfessionName() {
		return professionName;
	}

	public void setProfessionName(String professionName) {
		this.professionName = professionName;
	}

	public Integer getProfessionId() {
		return professionId;
	}

	public void setProfessionId(Integer professionId) {
		this.professionId = professionId;
	}

	/**
	 * 学习班名称
	 */
	@TableField(exist = false)
	private String learnClassName;

	public Integer getLearnType() {
		return learnType;
	}

	public void setLearnType(Integer learnType) {
		this.learnType = learnType;
	}

	public String getLearnClassName() {
		return learnClassName;
	}

	public void setLearnClassName(String learnClassName) {
		this.learnClassName = learnClassName;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdCord() {
		return idCord;
	}

	public void setIdCord(String idCord) {
		this.idCord = idCord;
	}

	public String getSchoolCard() {
		return schoolCard;
	}

	public void setSchoolCard(String schoolCard) {
		this.schoolCard = schoolCard;
	}

	public Integer getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public String getSchoolClassName() {
		return schoolClassName;
	}

	public void setSchoolClassName(String schoolClassName) {
		this.schoolClassName = schoolClassName;
	}

	public Integer getSchoolClassId() {
		return schoolClassId;
	}

	public void setSchoolClassId(Integer schoolClassId) {
		this.schoolClassId = schoolClassId;
	}

	public Integer getCollegeExamScore() {
		return collegeExamScore;
	}

	public void setCollegeExamScore(Integer collegeExamScore) {
		this.collegeExamScore = collegeExamScore;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmergencyContact() {
		return emergencyContact;
	}

	public void setEmergencyContact(String emergencyContact) {
		this.emergencyContact = emergencyContact;
	}

	public String getEmergencyPhone() {
		return emergencyPhone;
	}

	public void setEmergencyPhone(String emergencyPhone) {
		this.emergencyPhone = emergencyPhone;
	}

}
